package com.zbkj.common.response.wx;

/**
 * @ClassName: WxPayResCode
 * @Description: 微信支付 返回状态
 * @Author: fanbing
 * @Date: 2021/11/26 11:09
 * @Version: V1.0
 **/
public enum WxPayResCode {


    /**
     * 支付成功
     */
    PAY_SUCCESS("SUCCESS", "return_code", "成功"),

    /**
     * 下单成功
     */
    UNIFIEDORDER_RETURN("SUCCESS","return_code","下单成功"),
    UNIFIEDORDER_RESULT("SUCCESS","result_code","下单成功"),
    ;

    /**
     * 返回 状态码
     */
    private String resultCode;
    /**
     * 字段属性
     */
    private String fieldName;

    /**
     * 返回状态 说明
     */
    private String resultDescribe;

    WxPayResCode(String resultCode, String fieldName, String resultDescribe) {
        this.resultCode = resultCode;
        this.fieldName = fieldName;
        this.resultDescribe = resultDescribe;
    }

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getResultDescribe() {
        return resultDescribe;
    }

    public void setResultDescribe(String resultDescribe) {
        this.resultDescribe = resultDescribe;
    }
}
